﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AliCharacter_recognition.Utils.BaiduTool.BaiduOcrJson
{
    internal class IdCardJson
    {
        public class 住址
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            /// 山东省单县单城镇黄楼行政村前黄楼村202号
            /// </summary>
            public string words { get; set; }
        }

        /// <summary>
        /// 定位位置
        /// </summary>
        public class Location
        {
            /// <summary>
            ///
            /// </summary>
            public int width { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int top { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int height { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int left { get; set; }
        }

        public class 失效日期
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string words { get; set; }
        }

        public class 签发机关
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string words { get; set; }
        }

        public class 签发日期
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string words { get; set; }
        }

        public class 出生
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string words { get; set; }
        }

        public class 姓名
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            /// 曹淑英
            /// </summary>
            public string words { get; set; }
        }

        public class 公民身份号码
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string words { get; set; }
        }

        public class 性别
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            /// 女
            /// </summary>
            public string words { get; set; }
        }

        public class 民族
        {
            /// <summary>
            ///
            /// </summary>
            public Location location { get; set; }

            /// <summary>
            /// 汉
            /// </summary>
            public string words { get; set; }
        }

        public class Words_result
        {
            /// <summary>
            ///
            /// </summary>
            public 住址 住址 { get; set; }

            /// <summary>
            ///
            /// </summary>
            public 出生 出生 { get; set; }

            /// <summary>
            ///
            /// </summary>
            public 姓名 姓名 { get; set; }

            /// <summary>
            ///
            /// </summary>
            public 公民身份号码 公民身份号码 { get; set; }

            /// <summary>
            ///
            /// </summary>
            public 性别 性别 { get; set; }

            /// <summary>
            ///
            /// </summary>
            public 民族 民族 { get; set; }

            /// <summary>
            ///
            /// </summary>
            public 失效日期 失效日期 { get; set; }

            /// <summary>
            ///
            /// </summary>
            public 签发机关 签发机关 { get; set; }

            /// <summary>
            ///
            /// </summary>
            public 签发日期 签发日期 { get; set; }
        }

        public class Root
        {
            /// <summary>
            ///
            /// </summary>
            public long log_id { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int words_result_num { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string image_status { get; set; }

            /// <summary>
            ///
            /// </summary>
            public Words_result words_result { get; set; }
        }
    }
}